package com.wss.domain;

import java.io.Serializable;
import java.util.Date;

public class Order implements Serializable {
    private Integer id;
    private Date otime;
    private Integer v_id;
    private Integer u_id;
    private String vtitle;
    private double vprice;
    private String username;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getOtime() {
        return otime;
    }

    public void setOtime(Date otime) {
        this.otime = otime;
    }

    public Integer getV_id() {
        return v_id;
    }

    public void setV_id(Integer v_id) {
        this.v_id = v_id;
    }

    public Integer getU_id() {
        return u_id;
    }

    public void setU_id(Integer u_id) {
        this.u_id = u_id;
    }

    public String getVtitle() {
        return vtitle;
    }

    public void setVtitle(String vtitle) {
        this.vtitle = vtitle;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public double getVprice() {
        return vprice;
    }

    public void setVprice(double vprice) {
        this.vprice = vprice;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", otime=" + otime +
                ", v_id=" + v_id +
                ", u_id=" + u_id +
                ", vtitle='" + vtitle + '\'' +
                ", vprice=" + vprice +
                ", username='" + username + '\'' +
                '}';
    }
}
